package gui;

import java.awt.Color;
import java.awt.GridBagLayout;
import javax.swing.JPanel;
import java.awt.Dimension;
import java.awt.Rectangle;

public class CreateCertificateMain extends JPanel {

	private static final long serialVersionUID = 1L;
	private JPanel jPanel = null;
	ATOCOmain atocoframe;

	/**
	 * This is the default constructor
	 */
	public CreateCertificateMain(ATOCOmain atocoframe) {
		super();
		this.atocoframe=atocoframe;
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(965, 557);
		this.setLayout(null);
		this.setBackground(Color.WHITE);
		this.add(getJPanel(), null);
	}

	/**
	 * This method initializes jPanel	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getJPanel() {
		if (jPanel == null) {
			jPanel = new PersonalCreateCertificate(atocoframe, passclass(), "CreateCertificateMain");
			jPanel.setLayout(new GridBagLayout());
			jPanel.setBounds(new Rectangle(13, 11, 542, 600));
		}
		return jPanel;
	}
	
	public CreateCertificateMain passclass(){
		return this;
	}

}  //  @jve:decl-index=0:visual-constraint="10,10"
